package cn.java78.entity;

public class Battery {
    private String name;
    private double money;

    @Override
    public String toString() {
        return "Battery{" +
                "name='" + name + '\'' +
                ", money=" + money +
                '}';
    }

    public Battery() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
